@charset "utf-8";
@import "config";

.active {
    color: #D62D31;
}
.container {
    .topbar {
        .left {
            width: 85%;
            a {
                margin-left: 8%;
            }
            a:first-of-type {
                margin-left: 0;
            }
            .active{
                border-bottom: 1px solid #D62D31;
            }
        }
    }

    .main {
        .picture_sub {
            background: #f3f4f6;
            line-height: setLengthByHeight(60px);
            padding: 0 4%;
            span {
                font-size: 0.6rem;
            }
            .search {
                width: 6.5rem;
                i {
                    margin-right: 0.2rem;
                }
                a:last-of-type {
                    margin-left: 0.5rem;
                }
            }
        }
        .message {
            background: #FFFFFF;
            border-bottom: 1px solid #c1c1c1;
            #carousel {
                ul {
                    li {
                        width: 100%;
                        height: setLengthByHeight(640px);
                        position: relative;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                        #last {
                            display: block;
                            width: 40px;
                            height: 40px;
                            border-radius: 50%;
                            text-align: center;
                            line-height: 40px;
                            background: rgba(153,153,153,0.6);
                            color: #FFFFFF;
                            font-size: 0.65rem;
                            position: absolute;
                            bottom: 10px;
                            right: 15px;
                            em {
                                font-size: 0.8rem;
                            }
                        }
                    }
                }
            }

            .intro {
                background: #FFFFFF;
                ul {
                    li {
                        height: setLengthByHeight(89px);
                        line-height: setLengthByHeight(87px);
                        border-top: 1px solid #c1c1c1;
                        padding: 0 4%;
                        span:first-of-type {
                            font-size: 0.6rem;
                            color: #C1C1C1;
                        }
                        span:nth-of-type(2) {
                            font-size: 0.7rem;
                            margin-left: 3%;
                        }
                        i {
                            font-size: 0.7rem;
                        }
                        em:first-of-type {
                            margin-right: 4%;
                        }
                    }
                    li:first-of-type {
                        display: block;
                        height: setLengthByHeight(180px);
                        border-top: 1px solid #c1c1c1;
                        padding: setLengthByHeight(25px) 4%;
                        p {
                            font-size: 0.7rem;
                            line-height: 1rem;
                            width: 85%;
                            height: setLengthByHeight(80px);
                            text-align: justify;
                            overflow: hidden;
                        }
                        i {
                            font-size: 0.7rem;
                            line-height: 1.2rem;
                        }
                        span {
                            display: block;
                            margin-top: setLengthByHeight(10px);
                            font-size: 0.7rem;
                            line-height: 0.8rem;
                            color: #D62D31;
                            i {
                                font-size: 0.7rem;
                            }
                        }
                    }
                }
            }
        }

        .serve {
            background: #FFFFFF;
            margin-top: setLengthByHeight(20px);
            border-bottom: 1px solid #C1C1C1;
            border-top: 1px solid #C1C1C1;
            .top {
                a {
                    display: block;
                    line-height: setLengthByHeight(50px);
                    padding: setLengthByHeight(20px) 4%;
                    .img {
                        width: 50px;
                        height: 50px;
                        border-radius: 50%;
                        overflow: hidden;
                        text-align: center;
                        vertical-align: middle;
                        img {
                            width: 100%;
                        }
                    }
                    .centre {
                        padding: setLengthByHeight(5px) 0;
                        margin-left: 3%;
                        p {
                            font-size: 0.7rem;
                            line-height: 1.3rem;
                        }
                        span {
                            display: block;
                            font-size: 0.6rem;
                            line-height: 1rem;
                            color: #999999;
                        }
                    }
                    .right {
                        padding: setLengthByHeight(20px) 0;
                        i {
                            font-size: 0.7rem;
                        }
                    }
                }
            }

            .middle {
                padding: 0 4%;
                ul {
                    li {
                        height: setLengthByHeight(110px);
                        float: left;
                        width: 31%;
                        padding: setLengthByHeight(10px) 0;
                        border-right: 1px solid #C1C1C1;
                        text-align: center;
                        span {
                            display: block;
                            font-size: 0.7rem;
                            line-height: 1.2rem;
                        }
                        span:last-of-type {
                            color: #999999;
                        }
                    }
                    li:nth-of-type(2) {
                        width: 32%;
                    }
                    li:last-of-type {
                        border-right: none;
                        width: 37%;
                        span {
                            color: #999999;
                            position: relative;
                            i {
                                position: absolute;
                                top: 0;
                                right: 0;
                                color: #D62D31;
                            }
                        }
                    }
                }
            }

            .below {
                padding: setLengthByHeight(20px) 4%;
                input {
                    width: 48%;
                    height: setLengthByHeight(64px);
                    line-height: setLengthByHeight(64px);
                    color: #000000;
                    font-size: 0.65rem;
                }
            }
        }

        .store {
            margin-top: setLengthByHeight(20px);
            padding-bottom: setLengthByHeight(70px);
            border-bottom: 1px solid #C1C1C1;
            border-top: 1px solid #C1C1C1;
            background: #FFFFFF;
            position: relative;
            .guess {
                strong {
                    font-size: 0.7rem;
                    line-height: setLengthByHeight(84px);
                    color: #999999;
                    padding: 0 4%;
                }
            }

            #guess_wrap {
                position: relative;
                ul {
                    li {
                        width: 32%;
                        height: setLengthByHeight(348px);
                        display: inline-block;
                        a {
                            display: block;
                            padding: setLengthByHeight(20px) 10%;
                            >span {
                                display: block;
                                width: 100%;
                                img {
                                    width: 100%;
                                }
                            }
                            strong {
                                display: block;
                                font-size: 0.7rem;
                                line-height: 0.95rem;
                                height: setLengthByHeight(75px);
                                overflow: hidden;
                                em:first-of-type {
                                    margin-right: 6%;
                                }
                            }

                            .purchase {
                                p {
                                    font-size: 0.6rem;
                                    color: #D62D31;
                                    margin-top: setLengthByHeight(20px);
                                    i {
                                        font-size: 0.6rem;
                                    }
                                }
                                span {
                                    font-size: 1.2rem;
                                    color: #D62D31;
                                }
                            }
                        }

                    }
                }

                .guess_line_v {
                    width: 1px;
                    color: #C1C1C1;
                    height: setLengthByHeight(696px);
                    position: absolute;
                }
                .guess_line_v_1 {
                    top: 0;
                    left: 32%;
                }
                .guess_line_v_2 {
                    top: 0;
                    left: 66%;
                }

                .guess_line_h {
                    height: 1px;
                    width: 100%;
                    color: #C1C1C1;
                    position: absolute;
                }
                .guess_line_h_1 {
                    top: 0;
                    left: 0;
                }
                .guess_line_h_2 {
                    top: setLengthByHeight(348px);
                    left: 0;
                }
                .guess_line_h_3 {
                    top: setLengthByHeight(696px);
                    left: 0;
                }
            }

            #button {
                width: 29%;
                position: absolute;
                bottom: setLengthByHeight(35px);
                left: 50%;
                transform: translateX(-50%);
                li {
                    width: 20px;
                    height: 2px;
                    float: left;
                    background: #bfbfbf;
                    margin-left: 4%;
                }
                li:first-of-type {
                    margin-left: 0;
                }

                .link {
                    border-top: 4px solid #D62D31;
                }
            }

        }

        .youbei {
            background: #f3f4f6;
            padding: 0 4% setLengthByHeight(40px);
            border-bottom: 1px solid #C1C1C1;

            .logo {
                text-align: center;
                margin-top: setLengthByHeight(40px);
                .left {
                    display: inline-block;
                    width: 10%;
                    font-size: 0;
                    height: setLengthByHeight(55px);
                    img {
                        width: 100%;
                    }
                }
                .right {
                    display: inline-block;
                    span {
                        display: block;
                        text-align: left;
                        font-size: 0.6rem;
                        color: #bababa;
                    }
                    span:first-of-type {
                        font-size: 0.8rem;
                        line-height: 0.85rem;
                    }
                }

            }
            .below {
                text-align: center;
                margin-top: setLengthByHeight(5px);
                p {
                    font-size: 0.65rem;
                    margin: 0;
                    color: #bababa;
                }
            }
        }

        .pull_up {
            background: #FFFFFF;
            font-size: 0.75rem;
            line-height: setLengthByHeight(80px);
            text-align: center;
            i {
                margin-right: 2%;
            }
        }
        
        .pull_top{
            width: setLengthByHeight(120px);
            height: setLengthByHeight(120px);
            padding: setLengthByHeight(15px) 0;
            border-radius: 50%;
            background: #817f7f;
            text-align: center;
            position: fixed;
            right: 4%;
            bottom: setLengthByHeight(200px);
            span{
                display: block;
                font-size: 1rem;
                color: #FFFFFF;
                line-height: 1rem;
                i{
                    font-size: 1rem;
                }
            }
        }
    }

    .btmbar {
        a {
            width: 15%;
        }
        .input {
            display: inline-block;
            width: 70%;
            padding-left: 4%;
            input {
                border-radius: 0;
                width: 50%;
                height: setLengthByHeight(99px);
                line-height: setLengthByHeight(99px);
            }
            #shopping {
                background: #e7a312;
                border: 1px solid #e7a312;
            }
        }
    }
}

.layer {
    .dialog {
        .icon_list {
            .item {
                .icon-weixin {
                    background-color: #85d16d;
                }

                .icon-pengyouquan {
                    background-color: #6dd193;
                }

                .icon-weibo {
                    background-color: #f26868;
                }

                .icon-QQ {
                    background-color: #4c88f5;
                }

                .icon-qqkongjian {
                    background-color: #f0c759;
                }

                .icon-shouji {
                    background-color: #54d3b1;
                }

                .icon-liuyan1 {
                    background-color: #ff936d;
                }

                .icon-erweima {
                    color: #000000;
                    border: setLengthByHeight(4px) solid #dde0de;
                    background-color: #ffffff;
                }

                .icon-fuzhilianjie {
                    background-color: #a8bcc8;
                }

                .icon-shichang {
                    background-color: #82cf4f;
                }
            }
        }
    }
}
